package tiandang.core.model;

import java.math.BigDecimal;

public class Product {
  private Integer id;

  private String name;

  private String imgUrl;

  private String imgName;

  private String description;

  private BigDecimal originPrice;

  private BigDecimal presentPrice;

  private Integer proportion;

  private int sales;

  private Byte downline;

  private Byte isLimit;

  private int limitBuy;

  private int mock;

  public int getLimitBuy() {
    return limitBuy;
  }

  public void setLimitBuy(int limitBuy) {
    this.limitBuy = limitBuy;
  }

  public int getMock() {
    return mock;
  }

  public void setMock(int mock) {
    this.mock = mock;
  }

  public Byte getIsLimit() {
    return isLimit;
  }

  public void setIsLimit(Byte isLimit) {
    this.isLimit = isLimit;
  }

  public String getImgName() {
    return imgName;
  }

  public void setImgName(String imgName) {
    this.imgName = imgName;
  }

  public Integer getId() {
    return id;
  }

  public void setId(Integer id) {
    this.id = id;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name == null ? null : name.trim();
  }

  public String getImgUrl() {
    return imgUrl;
  }

  public void setImgUrl(String imgUrl) {
    this.imgUrl = imgUrl == null ? null : imgUrl.trim();
  }

  public String getDescription() {
    return description;
  }

  public void setDescription(String description) {
    this.description = description == null ? null : description.trim();
  }

  public BigDecimal getOriginPrice() {
    return originPrice;
  }

  public void setOriginPrice(BigDecimal originPrice) {
    this.originPrice = originPrice;
  }

  public BigDecimal getPresentPrice() {
    return presentPrice;
  }

  public void setPresentPrice(BigDecimal presentPrice) {
    this.presentPrice = presentPrice;
  }

  public Integer getProportion() {
    return proportion;
  }

  public void setProportion(Integer proportion) {
    this.proportion = proportion;
  }

  public int getSales() {
    return sales;
  }

  public void setSales(int sales) {
    this.sales = sales;
  }

  public Byte getDownline() {
    return downline;
  }

  public void setDownline(Byte downline) {
    this.downline = downline;
  }
}